package com.hzw.saas.web.app.rss.param;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzw.saas.common.config.util.PageParam;
import com.hzw.saas.common.util.constants.PatternConsts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description
 * @Date 2021/7/1 11:52 上午
 * @Created by sonam
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "期刊RSS文章检索参数")
public class JournalArticleSearchParam {

    @ApiModelProperty(value = "分类Ids", notes = "按分类检索")
    private List<String> catalogIds;

    @ApiModelProperty(value = "文章标题", notes = "按文章标题检索")
    private List<String> titles;

    @ApiModelProperty(value = "作者名称", notes = "按作者检索")
    private List<String> authors;

    @ApiModelProperty(value = "期刊名称", notes = "按期刊名检索")
    private List<String> journalName;

    @ApiModelProperty(value = "期刊号", notes = "按期刊号检索")
    private List<String> journalIss;

    @ApiModelProperty(value = "关键字查询", notes = "关键字查询")
    private List<String> keyWords;

    @ApiModelProperty(value = "文章发布日期区间起始")
    @JsonFormat(pattern = PatternConsts.NORM_DATE_PATTERN)
    private Date pubStartDate;

    @ApiModelProperty(value = "文章发布日期区间结束")
    @JsonFormat(pattern = PatternConsts.NORM_DATE_PATTERN)
    private Date pubEndDate;

    @ApiModelProperty(value = "分页参数")
    private PageParam pageParam;

}
